@font-face {
  font-family: "Oxygen";
  src: url("../../../../../public/css/优设标题黑.ttf");
}

.footer {
  position: fixed;
  top: 1.8rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 1.6rem);
  z-index: 100;
  height: 1.6rem;
  color: white;
  transform: translate(-50%, 0);
}

.footer-card {
  position: relative;
  flex: 1;
  width: auto;
  height: 1.6rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-family: "Oxygen", sans-serif;
  line-height: 1.6rem;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  &::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 0.6rem;
    height: 100%;
    background-image: url("../../../../../public/images/footer-card-left.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
  }
  &::after {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 0.6rem;
    height: 100%;
    background-image: url("../../../../../public/images/footer-card-right.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
  }
}
.footer-card-body {
  position: absolute;
  top: 0;
  left: 0.5rem;
  width: calc(100% - 1rem);
  height: 100%;
  background-image: url("../../../../../public/images/footer-card-body.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.display {
  opacity: 0.45;
}

.left-area {
  display: flex;
  justify-content: end;
  width: 38.75rem;
  height: 100%;
  .footer-card {
    margin-left: 12px;
    &:nth-of-type(1) {
      margin-left: 0;
    }
  }
}

.right-area {
  display: flex;
  justify-content: start;
  width: 38.25rem;
  height: 100%;
  .footer-card {
    margin-right: 12px;
    &:last-of-type {
      margin-right: 0;
    }
  }
}

.center-block {
  width: 19rem;
  height: 100%;
}

.content {
  position: relative;
  top: 0.2rem;
  left: 0.2rem;
  z-index: 10;
  width: calc(100% - 0.4rem);
  height: calc(100% - 0.4rem);
  // padding: 0 1rem 0 0.6rem;
  line-height: 1.2rem;
}

.is-active {
  &::before {
    background-image: url("../../../../../public/images/footer-card-active-left.png");
  }
  &::after {
    background-image: url("../../../../../public/images/footer-card-active-right.png");
  }
  .content {
    color: #003334;
  }
  .footer-card-body {
    background-image: url("../../../../../public/images/footer-card-active-content.png");
  }
}
